using System;
using System.Windows.Forms;
using System.Windows.Forms.Integration;
using GalaSoft.MvvmLight;
using Mapping;

namespace UIKitTutorials.ViewModel
{
    public class MapControl : ObservableObject 
    {
        private Lazy<System.Windows.Forms.Control> _lazy ;
        private WindowsFormsHost displayControl;

        public MapControl()
        {
            DisplayControl   =new WindowsFormsHost();
            DisplayControl.Loaded += (o, e) =>
            {


            };
        }

       

        public WindowsFormsHost DisplayControl
        {
            get => displayControl;
            set { Set("DisplayControl", ref displayControl, value); }
        }
    }
}